import api from '../index';

// 轮播图的请求接口

export const getBanner = (params) => api.get(`/banner/list`, { params})

// 新闻列表的请求接口
export const getNewsList = (params) => api.get(`/cms/news/list`, { params})


// 人气推荐的接口请求
export const getGoods = (params) => api.get(`/shop/goods/list`, { params})



// 分类的接口请求
export const getAll = (params) => api.get(`/shop/goods/category/all`, { params})